﻿using System.Data;
using MySSH.IDAL;
using MySSH.Domain.Entities;

namespace MySSH.IBLL
{
    public partial interface IBLLModule : IBLLBase<Module>
    {

        /// <summary>
        /// 根据用户信息获取系统菜单
        /// </summary>
        /// <param name="userID">用户ID</param>
        /// <param name="loginID">登录ID</param>
        /// <param name="pwd">密码</param>
        /// <returns></returns>
        string GetSysMenuByUser(int userID, string loginID, string pwd);

        /// <summary>
        /// 根据父级ID获取模块
        ///     主要用于TreePanel的数据绑定
        /// </summary>
        /// <param name="parentID">角色的父级ID</param>
        /// <returns></returns>
        DataTable GetModelByParentID(int parentID);
    }
}
